<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Application.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.PersonalReference>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	References
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset class="staffingexpert">
            <legend class="staffingexpert">References Information</legend>
                <%= Html.Hidden("ReferenceID") %>
                <%= Html.Hidden("ApplicationID") %>
            <p>
                <label class="staffingexpert" for="Name">Name:</label>
                <%= Html.TextBox("Name", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("Name", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="PhoneNumber">Phone Number:</label>
                <%= Html.TextBox("PhoneNumber", null, new { @class = "staffingexperttextbox", @style = "width: 80px;" }) %>
                <%= Html.ValidationMessage("PhoneNumber", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="Employer">Employer:</label>
                <%= Html.TextBox("Employer", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("Employer", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="JobTitle">Job Title:</label>
                <%= Html.TextBox("JobTitle", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" })%>
                <%= Html.ValidationMessage("JobTitle", "*") %>
            </p>
            <p>
                <input type="submit" name="submitButton" value="Add More References" />
                <input type="submit" name="submitButton" value="Submit References"/>
                <input type="submit" name="submitButton" value="Skip References"/>
           </p>
        </fieldset>

    <% } %>

    <div>
        <p><%=Html.ActionLink("Back to List", "Index") %></p>
    </div>

</asp:Content>

